<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <!-- v-for循环 -->
    <div id="app">
        <ul>
            <li v-for="(value,key,index) in object">
                {{key}}:{{value}}:{{index}}
            </li>
        </ul>
    </div>
    <script>
          // 创建Vue的对象
          let vm = new Vue({
              el:"#app",
              data:{
                  object:{
                      firstName:'tom',
                      lastName:'Done',
                      age:20
                    }
                } 
          })
    </script>
</body>
</html>